home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
64'er 1989 July
/
64er_Magazin_89-07_1989_Markt__Technik_de_Side_A.d64
/
grafik beispiel
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-10-26
|
455b
|
25 lines
1 rem ************************
2 rem *** deklarationsteil ***
5 (NULL)
10 (NULL)"screens",8
35 (NULL)"plot",8
40 (NULL)"line",8
90 end
97 rem ******************
98 rem *** basic-teil ***
100 (NULL)0,0:(NULL)0,1:(NULL)1,0:(NULL)
110 (NULL)100,100,1
120 (NULL) 10,0,10,199,1
121 (NULL) 309,0,309,199,1
122 (NULL) 0,10,319,10,1
123 (NULL) 0,189,319,189,1
200 fora=0to6.28step.05
220 x1=160+sin(2*a)*160
222 y1=100+cos(a)*sin(a)*100
230 x2=160+sin(a)*160
232 y2=100+sin(2*a)*50+cos(a)*50
240 (NULL) x1,y1,x2,y2,1
250 nexta
300 wait198,255
310 (NULL)